package com.hosever.controller;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.hosever.core.AbstractController;
import com.hosever.model.DemoModel;
import com.hosever.service.DemoService;

@Controller
@RequestMapping("/pub/history")
public class HistoryController extends
	AbstractController<DemoModel, DemoService> {

	@RequestMapping("/list")
	public String historyList(Model model,HttpSession session) {
		session.setAttribute("nav", "history");
		return getRelativePath("/formList");
	}
}
